package edu.chinasoft.service;

import edu.chinasoft.domain.Function;
import edu.chinasoft.domain.PageUnitForFunction;
import edu.chinasoft.domain.User;

import java.util.List;
import java.util.Map;

public interface FunctionService {
    List<Function> selectFunctionByUserID(User user);
    List<Function> selectFunction();
    PageUnitForFunction getRecordNum();
    List<Function> selectUnitFunction(Map<String,Object> map);
    boolean insertFunction(Function function);
    Function selectFunctionById(Function function);
    boolean updateFunctionByFunctionId(Function function);
    boolean deleteFunctionById(Function function);
	List<Function> selectFatherFunction();
}
